package com.smart.tool.extension;

/**
 * @Author gao.gwq
 * @Version SenceParam.java, v 0.1 2024年06月13日 20:22 gao.gwq
 * @Description: TODO
 */
public class SenceParam {
    private String sence;
    private String useCase;
    private Integer order;

    private SenceParam() {
    }

    public static SenceParam of(String sence, String useCase, Integer order) {
        SenceParam senceParam = new SenceParam();
        senceParam.sence = sence;
        senceParam.useCase = useCase;
        senceParam.order = order;
        return senceParam;
    }
    public static SenceParam of(String sence, String useCase) {
        SenceParam senceParam = new SenceParam();
        senceParam.sence = sence;
        senceParam.useCase = useCase;
        return senceParam;
    }

    public String getSence() {
        return sence;
    }

    public void setSence(String sence) {
        this.sence = sence;
    }

    public String getUseCase() {
        return useCase;
    }

    public void setUseCase(String useCase) {
        this.useCase = useCase;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }


    public String uniqueSenceKey() {
        return sence + "_" + useCase;
    }
}
